/**
 * Created by hms on 2020-08-20.
 */

export const Page = {
    state:{
        current_page_size:20,
    },
    mutations:{
        setCurrentPageSize(state,page_size){
            state.current_page_size=page_size;
        }
    },
    actions:{
        loadCurrentPageSize(context,data){
           context.commit('setCurrentPageSize',data);
        }
    },
    getters:{
        getCurrentPageSize:state => {
           return state.current_page_size;
        }
    }
}
